<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Responsive Image Example</title>
    <style>
        body {
            background: #000;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
        }
        .box1 {
            width: 90%;
            max-width: 800px;
            padding: 3%;
            background: #632020;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
            text-align: center;
        }
        .box1 img {
            width: 100%;
            height: auto;
            object-fit: contain;
            max-height: 100vh;
        }
        @media (max-width: 600px) {
            .box1 img {
                max-height: 300px;
            }
        }
    </style>
</head>
<body>
    <div class="box1">
        <h1>Responsive Image Example</h1>
        <img src="https://yanxuan.nosdn.127.net/893636ce832353ddc3850895420b9bbe.png" alt="Responsive Image">
    </div>
</body>
</html>